{extend name="common/layout"}
<!--注意，使用layout模板继承模式，内容须写在任意[block]标签对之间，否则内容不会被渲染-->

{block name="header"}
{include file="common/header"}
{/block}

{block name="style"}
<!--__style__-->
{/block}

{block name="main"}
{include file="common/navi"}
<div class="body">
    <div class="main-container">
        <!--文章列表:按合集(示例)-->
    {tag@get}<!--读取当前合集-->
    <div class="breadcrumb">
        当前位置：<a href="@site_home@">首页</a>
        &gt;<a>合集【{$tag.name}】</a>
    </div>
    <div class="list">
        {content@list where="FIND_IN_SET($id,tags)" pagesize="10"}
        <dl class="list-item">
            <dd class="title">
                <a target="_blank" href="{$content.url}">{$content.title}</a>
            </dd>
            <dd class="info">
                <p>{$content.description}</p>
                <p>{$content.date}</p>
            </dd>
        </dl>
        {/content@list}
    </div>
    </div>
</div>
{/block}

{block name="footer"}
{include file="common/footer"}
{/block}

{block name="script"}
<!--__script__-->
{/block}